package com.gitee.wsl.common.chart.sample.area.model

import android.graphics.Color
import android.graphics.Shader

import com.gitee.wsl.common.chart.sample.line.model.ValueLineData
import com.gitee.wsl.common.ui.draw.type.GridDirection

/**
 * @ClassName AreaData
 * @Description  面积图数据传输类
 * @author XiongChuanLiang<br/>(xcl_168@aliyun.com)
 *
 */
class AreaData() : ValueLineData(){

    constructor(s: String, dataSeries1: MutableList<Float>, blue: Int, yellow: Int):this(){
        this.label=s
        this.linePointList=dataSeries1
        areaBeginColor=blue
        areaEndColor=yellow
    }

     var areaFillColor = -999 // 255;


    //是否应用渲染模式
     var applayGradient = false


     var areaBeginColor = Color.WHITE
     var areaEndColor = Color.WHITE

     var gradientMode = Shader.TileMode.MIRROR
     var gradientGridDirection = GridDirection.VERTICAL
}